<%@tag pageEncoding="UTF-8" isELIgnored="false"  %>
<style>
    #failInfoDialog td{
        font-size: 12px;
    }
</style>
<div id="failInfoDialog" class="myDialog" style="overflow: auto">
    <table class="layui-table" style="min-width: 600px">
        <thead>
        <th>编号</th>
        <th>名称</th>
        <th>原因</th>
        </thead>

        <tbody id="noTBody"></tbody>
    </table>

    <hr>
    <button class="layui-btn" id="closeFailInfoDialog">关闭</button>
    <script>
        $("#closeFailInfoDialog").click(function () {
            closeAll();
        });
        function processFailInfo(title, data) {
            openBigDialogByTagId(title, $("#failInfoDialog"));
            $("#noTBody").empty();
            $.each(data,function (i,d) {
                let child = "<tr>";
                child += "<td>"+d.data.no+"</td>";
                child += "<td>"+d.data.name+"</td>";
                child += "<td>"+d.msg+"</td>";
                $("#noTBody").append(child);
            });
        }
    </script>
</div>